colnames
{base}
Retrieve column names of a data frame
scale_y_continuous
{GGPLOT2}
Customise continuous y axis
library
{base}
Load an R package
setwd
{base}
Set Working Directory
dim
{base}
Get dimensions of a data frame
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
mean
{base}
Get mean of a vector
c
{base}
Combine values/vectors into a vector
filter
{dplyr}
Filter out rows of a data frame according to logical vector
geom_smooth
{GGPLOT2}
Generates a smoothed conditional means curve / line
xlab
{GGPLOT2}
Label the x axis (ggplot)
is.na
{base}
Check if a value is NA/elements of vector are NA
group_tt
{tinytable}
Grouping in tinytable
class
{base}
Retrieve class of an R object
geom_vline
{GGPLOT2}
Draws a vertical line
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
ggsave
{ggplot2}
Saves the last ggplot or a specified ggplot object to a file
geom_hline
{GGPLOT2}
Add a horizontal line in GGPLOT2
names
{base}
Retrieve names of a list/vector
lm
{base}
Fit a linear model
data.frame
{base}
Create a data.frame from vectors
confint
{stats}
Calculate confidence Intervals for Model Parameters
ylab
{GGPLOT2}
Label the y axis (ggplot)
theme
{GGPLOT2}
Set theme for GGPLOT2
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
element_blank
{GGPLOT2}
This theme element draws nothing, and assigns no space
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
element_text
{GGPLOT2}
Customise text in GGPLOT2
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
element_line
{GGPLOT2}
Customise line appearance
summary
{base}
Obtain summary statistics or detailed regression output
modelsummary
{modelsummary}
Creates regression and data tables
list
{base}
Create a list object
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
geom_point
{GGPLOT2}
Generates a scatter plot
ggplot
{GGPLOT2}
Create a ggplot graph
The end!